package org.jeecg.glr.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.jeecg.glr.entity.GlrRadioTaskMember;

/**
 * @Description: 任务关联信息
 * @Author: jeecg-boot
 * @Date:   2020-02-14
 * @Version: V1.0
 */
public interface GlrRadioTaskMemberMapper extends BaseMapper<GlrRadioTaskMember> {
    @Select("SELECT member_Id FROM glr_radio_task_member WHERE task_id = #{taskId} and member_Type='1'")
    List<String> getRadioByTaskId(String taskId);
    @Select("SELECT member_Id FROM glr_radio_task_member WHERE task_id = #{taskId} and member_Type='2'")
    List<String> getResourceByTaskId(String taskId);
}
